package main

import (
	"common/global"
	"common/storage"
	"common/tools"
	"one/assets/conf"
	"one/bootstrap"
	"one/route"
)

func main() {
	global.InitGlobalConfig(conf.Asset)
	//tools.InitLog()
	tools.InitGid()
	storage.InitGDb1()
	//auth.InitAuth()
	//logsink.InitLogSink()
	bt := bootstrap.New("Iris Admin", "jwjkr@163.com")
	bt.Bootstrap()
	bt.Configure(route.Hub)
	bt.Listen()
}
